package com.xiaomaoguai.springmvc.controller;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * @Description :
 * @FileName: TestMOdel.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年10月21日 上午11:24:22
 * @Version:V1.00
 */
public class TestModel {

	@JsonIgnore
	private String id;

	private String name;

	private String tel;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.sss")
	private Date time;

	public TestModel() {
		super();
	}

	public TestModel(String id, String name, String tel, Date time) {
		super();
		this.id = id;
		this.name = name;
		this.tel = tel;
		this.time = time;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}
